package com.eascs.admin.o2o.backFees.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;



@Entity
@Table(name="o2o_back_fees")
@NamedQuery(name="O2oBackFees.findAll", query="SELECT w FROM O2oBackFees w")
public class O2oBackFeesEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	
	@Id
	@Column(name="id")
	private String id;


	/**
	 * 单据编号
	 */
	@Column(name="bill_code")
	private String billCode;

	/**
	 * 退款流程状态(NEW：新建,RUN：退款中,CLO：已退并流程结束)
	 */
	@Column(name="status")
	private String status;

	/**
	 * 退费金额
	 */
	@Column(name="back_money")
	private BigDecimal backMoney;

	/**
	 * 实际退费时间
	 */
	@Column(name="back_date")
	private Date backDate;
	
	/**
	 * 客户帐户卡号
	 */
	@Column(name="back_no")
	private String backNo;

	/**
	 * 客户帐户开户行
	 */
	@Column(name="back_bank")
	private String backBank;
	
	/**
	 * 付款方式
	 */
	@Column(name="back_type")
	private String backType;

	/**
	 * 实际退款银行帐户
	 */
	@Column(name="back_sj_no")
	private String backSjNo;
	
	/**
	 * 备注
	 */
	@Column(name="back_ps")
	private String backPs;
	
	
	/**
	 * 更新人/操作人id
	 */
	@Column(name="update_id")
	private String updateId;
	
	
	/**
	 * 更新人/操作人
	 */
	@Column(name="update_name")
	private String updateName;
	
	
	/**
	 * 更新/操作时间
	 */
	@Column(name="update_date")
	private Date updateDate;
	

	/**
	 * 借款人ID
	 */
	@Column(name="loan_id")
	private String loanId;
	
	/**
	 * 借款人姓名
	 */
	@Column(name="loan_name")
	private String loanName;

	
	/**
	 * 证件号
	 */
	@Column(name="document_no")
	private String documentNo;

	/**
	 * 退费银行账
	 */
	@Column(name="is_del")
	private String isDel;

	/**
	 * 经营单位ID
	 */
	@Column(name="ltd")
	private String ltd;
	
	/**
	 * 经营单位名称
	 */
	@Column(name="ltd_code")
	private String ltdCode;
	
	/**
	 * 经营单位名称
	 */
	@Column(name="ltd_name")
	private String ltdName;
	
	/**
	 * 创建人id
	 */
	@Column(name="create_id")
	private String createId;
	
	/**
	 * 创建人id
	 */
	@Column(name="create_name")
	private String createName;

	/**
	 * 创建时间
	 */
	@Column(name="create_date")
	private Date createDate;
	

	/**
	 * 提交人name
	 */
	@Column(name="submit_name")
	private String submitName;
	
	/**
	 * 提交人ID
	 */
	@Column(name="submit_id")
	private String submitId;

	/**
	 * 提交流程时间
	 */
	@Column(name="submit_date")
	private Date submitDate;

	/**
	 * 接口成功返回的ID
	 */
	@Column(name="account_id")
	private String accountId;
	
	/**
	 * uniqueId 业务驳回从新生成在调用账务系统
	 */
	@Column(name="uniqueId")
	private String uniqueId;
	

	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public BigDecimal getBackMoney() {
		return backMoney;
	}

	public void setBackMoney(BigDecimal backMoney) {
		this.backMoney = backMoney;
	}

	public Date getBackDate() {
		return backDate;
	}

	public void setBackDate(Date backDate) {
		this.backDate = backDate;
	}

	public String getBackNo() {
		return backNo;
	}

	public void setBackNo(String backNo) {
		this.backNo = backNo;
	}

	public String getBackBank() {
		return backBank;
	}

	public void setBackBank(String backBank) {
		this.backBank = backBank;
	}

	public String getBackType() {
		return backType;
	}

	public void setBackType(String backType) {
		this.backType = backType;
	}

	public String getBackSjNo() {
		return backSjNo;
	}

	public void setBackSjNo(String backSjNo) {
		this.backSjNo = backSjNo;
	}

	public String getBackPs() {
		return backPs;
	}

	public void setBackPs(String backPs) {
		this.backPs = backPs;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public String getUpdateName() {
		return updateName;
	}

	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getLoanId() {
		return loanId;
	}

	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}

	public String getLoanName() {
		return loanName;
	}

	public void setLoanName(String loanName) {
		this.loanName = loanName;
	}

	public String getDocumentNo() {
		return documentNo;
	}

	public void setDocumentNo(String documentNo) {
		this.documentNo = documentNo;
	}

	public String getIsDel() {
		return isDel;
	}

	public void setIsDel(String isDel) {
		this.isDel = isDel;
	}

	public String getLtd() {
		return ltd;
	}

	public void setLtd(String ltd) {
		this.ltd = ltd;
	}

	public String getLtdCode() {
		return ltdCode;
	}

	public void setLtdCode(String ltdCode) {
		this.ltdCode = ltdCode;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getSubmitName() {
		return submitName;
	}

	public void setSubmitName(String submitName) {
		this.submitName = submitName;
	}

	public String getSubmitId() {
		return submitId;
	}

	public void setSubmitId(String submitId) {
		this.submitId = submitId;
	}

	public Date getSubmitDate() {
		return submitDate;
	}

	public void setSubmitDate(Date submitDate) {
		this.submitDate = submitDate;
	}

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getLtdName() {
		return ltdName;
	}

	public void setLtdName(String ltdName) {
		this.ltdName = ltdName;
	}

	public String getUniqueId() {
		return uniqueId;
	}

	public void setUniqueId(String uniqueId) {
		this.uniqueId = uniqueId;
	}
	

}